﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： ProductImageEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///产品图片数据实体  
	/// </summary>
    [PrimaryKey("ProductImageID")]
	public class ProductImage
	{
		///<summary>
		///产品图片
		///</summary>
		public ProductImage()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("ProductImageID","主键")]
        public int ProductImageID { get; set; }

		///<summary>
		///图片链接
		///</summary>
        [Column("ImageUrl","图片链接")]
        public string ImageUrl { get; set; }

		///<summary>
		///图片名称
		///</summary>
        [Column("ImageName","图片名称")]
        public string ImageName { get; set; }

		///<summary>
		///图片顺序
		///</summary>
        [Column("ImageSort","图片顺序")]
        public int ImageSort { get; set; }

		///<summary>
		///图片类别
		///</summary>
        [Column("ImageType","图片类别")]
        public int ImageType { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDate","创建时间")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateDate","更新时间")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///逻辑标识(1：可用 0：禁用)
		///</summary>
        [Column("IsActvie","逻辑标识(1：可用 0：禁用)")]
        public int IsActvie { get; set; }

		///<summary>
		///产品ID
		///</summary>
        [Column("ProductID","产品ID")]
        public int ProductID { get; set; }

	}
}